<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s" %>

<html>
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>Review</title>
		<link type="text/css" href="css/coms.css" rel="stylesheet" />
		<link type="text/css" href="css/jquery-ui-1.8.13.custom.css" rel="stylesheet" />	
		<script type="text/javascript" src="scripts/jquery-1.5.1.min.js"></script>
		<script type="text/javascript" src="scripts/jquery-ui-1.8.13.custom.min.js"></script>
		<script type="text/javascript">
		$(function(){
			// Tabs
			$('#tabs').tabs();
			});
			
			jQuery(document).ready(function() {
				
					$('a').click(function(e){
			   });
			});
		</script>
		</head>
<body>
<s:a href="createConferenceItem.action">Add Conference Item</s:a>
           <table border="0">
				<tr><td>
					<s:a href="displayConference.action">Back to Conference List</s:a>
					</td>
					</tr>
				</table>
	    
            <s:if test="conferenceItemList.size() > 0">
					 <table class="mainTable" cellpadding="5px">
					<tr>
					
					<th>conferenceItemID</th>
					<th>description</th>
					<th>ItemType</th>
					<th>deadline</th>
					<th>startTime</th>
					<th>EndTime</th>
					<th>MaxParticipants</th>
					<th>MaxSubmissions</th>
					<th>ItemFee</th>
					<th>Location</th>
					<th>PresentaionType</th>
					</tr>
					<s:iterator value="conferenceItemList" status="status">
					<tr>
					<td><s:hidden value="maxReviewers" /></td>
					<td><s:property value="conferenceItemID" /></td>
					<td><s:property value="description" /></td>
					<td><s:property value="conferenceItemType" /></td>
					<td><s:property value="deadlineForSubmission" /></td>
					<td><s:property value="startTime" /></td>
					<td><s:property value="endTime" /></td>
					<td><s:property value="maximumNumberOfParticipants" /></td>
					<td><s:property value="maximumNumberOfSubmissions" /></td>
					<td><s:property value="itemFee" /></td>
					<td><s:property value="location" /></td>
					<td><s:property value="presentaionType" /></td>
					<td>
						<s:url id="displayFileItemsURL" action="displayFileItems">
						<s:param name="conferenceItemID" value="%{conferenceItemID}"></s:param>
						</s:url>
						<s:a href="%{displayFileItemsURL}">File Items</s:a>
						</td>
					</tr>
					
					</s:iterator>
				</table>
				
               </s:if>

</body>
</html>